package main

import "fmt"

type S struct {
	x,y int
}

type SS struct {
	a,b int
	S
}

type SSS struct {
	alpha, beta int
	SS
}


func main() {
	ins:=SSS{10,20,SS{30,40,S{50,60}}}
	fmt.Println(ins)

	fmt.Println(ins.SS.S.x, ins.SS.x, ins.x)
}
